package cn.zhz.springdoc.springboot.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ZHZ
 * @since 2022-11-15
 */
@Data
@ConfigurationProperties(prefix = "open-api.config")
public class OpenApiProperty {

    private Boolean enabled = false;

    private String serverUrl;

    private String projectName = "默认项目";

    private String groupName = "默认分组";

    private String[] pathsToMatch={};

    private String[] packagesToScan={};
}
